package MyJson;

/**
 * Created by yangluhua on 2016/8/20 0020.
 */
public class Company {
    @Name("name")
    private String name;

    @address("address")
    private String address;

    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Company(){}

    public Company(String name,String address,int age){
        this.name = name;
        this.address = address;
        this.age = age ;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String queryUser(String name,int age){
          return name+":"+age;
    }

}
